package com.qujoy.cloud.order.feign;

import com.qujoy.cloud.order.model.User;
import org.springframework.stereotype.Component;

@Component
public class UserFeignServiceFallBack implements UserFeignService {

    @Override
    public User getByID(Long userID) {
        User user = new User();
        user.setUserID(-1L);
        user.setUserName("默认用户");
        return user;
    }

}
